package com.ruoyi.contactSys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公众反馈对象 tb_feedback
 * 
 * @author ruoyi
 * @date 2025-11-06
 */
public class TbFeedback extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 提交人姓名 */
    @Excel(name = "提交人姓名")
    private String name;

    /** 提交人邮箱 */
    @Excel(name = "提交人邮箱")
    private String email;

    /** 提交人联系电话 */
    @Excel(name = "提交人联系电话")
    private String phone;

    /** 提交人所属单位或机构 */
    @Excel(name = "提交人所属单位或机构")
    private String organization;

    /** 反馈类型（留言、咨询、合作意向等） */
    @Excel(name = "反馈类型", readConverterExp = "留=言、咨询、合作意向等")
    private String feedbackType;

    /** 反馈内容或留言正文 */
    @Excel(name = "反馈内容或留言正文")
    private String content;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 处理状态（未处理、处理中、已回复） */
    @Excel(name = "处理状态", readConverterExp = "未=处理、处理中、已回复")
    private String status;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyContent;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 回复人姓名（管理员或工作人员） */
    @Excel(name = "回复人姓名", readConverterExp = "管=理员或工作人员")
    private String replyUser;

    /** 删除标识（0：正常，1：已删除） */
    @Excel(name = "删除标识", readConverterExp = "0=：正常，1：已删除")
    private Integer isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setOrganization(String organization) 
    {
        this.organization = organization;
    }

    public String getOrganization() 
    {
        return organization;
    }

    public void setFeedbackType(String feedbackType) 
    {
        this.feedbackType = feedbackType;
    }

    public String getFeedbackType() 
    {
        return feedbackType;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }

    public void setReplyUser(String replyUser) 
    {
        this.replyUser = replyUser;
    }

    public String getReplyUser() 
    {
        return replyUser;
    }

    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("email", getEmail())
            .append("phone", getPhone())
            .append("organization", getOrganization())
            .append("feedbackType", getFeedbackType())
            .append("content", getContent())
            .append("submitTime", getSubmitTime())
            .append("status", getStatus())
            .append("replyContent", getReplyContent())
            .append("replyTime", getReplyTime())
            .append("replyUser", getReplyUser())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
